package com.lbb.springboot.entity.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 测试枚举
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum UserBalanceLogTypeEnum implements IEnum<Integer> {
    RECHARGE(10, "充值"),
    DISTRIBUTION(20, "分配"),
    BACK(30, "退款"),

    OPERATINGLICENSE(1, "营运证相片"),
    QUALIFICATIONS(2, "从证资格证相片"),
    GPS(3, " gps 安装"),
    INSTALL_PROVE(4, "安装证明 "),
    SALE_SERVICE(5, "售后服务"),
    lbb_LOCATION(6, "定位查询");

    private Integer value;
    private String desc;

    UserBalanceLogTypeEnum(final Integer value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    public String getDesc(){
        return this.desc;
    }
}
